package com.zmn.mcc.dubbo.interfaces.menu;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.mcc.common.dto.menu.McMenuDRO;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

import javax.validation.constraints.Positive;
import java.util.List;

/**
 * 描述: 菜单远程查询接口
 *
 * @author guoqiao
 * @since 2021/6/2 17:18
 */
public interface MenuListRemoteService {

    /**
     * 描述: 查询所有菜单（有效）
     *
     * @param
     * @return
     * @author guoqiao
     * @since 2021/6/2 17:19
     */
    ResponseDTO<List<McMenuDRO>> listAllMenu();

    ResponseDTO<List<McMenuDRO>> listAllMenu_copy();

    /**
     * 描述: 根据展示系统查询菜单（有效）
     *
     * @param showSysId 展示系统ID
     * @return com.zmn.common.dto2.ResponseDTO<java.util.List < com.zmn.mcc.common.dto.menu.McMenuDRO>>
     * @author jiafei
     * @since 2021/10/9 15:36
     */
    @ApiOperation(value = "根据展示系统查询菜单（有效）", notes = "根据展示系统查询菜单（有效）", response = McMenuDRO.class)
    ResponseDTO<List<McMenuDRO>> listMenuByShowSysId(@ApiParam(value = "展示系统ID", required = true) @Positive(message =
            "展示系统ID必须为大于0的正整数") Integer showSysId);
}
